package com.bbc.service.type;

import java.util.List;

import com.bbc.entity.type.TypeInfo;
import com.bbc.entity.type.TypeQuery;

public interface TypeService {
	
	Integer addType(TypeInfo typeInfo);
	TypeInfo findTypeById(Integer typeId);
	List<TypeInfo> findType(TypeQuery query);
	TypeInfo findTypeByCid(String cid,String fromKey);
	void addtbType(String parentCid);
	List<TypeInfo> findType(TypeQuery query,int page,int pageSize);
	
}
